package com.apartment.own.domain.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

import java.io.Serializable;

/**
 * des. 租金层级:枚举  按比例增加还是按金额增加
 * @author       :  RazaJin
 * @createDate    :  2020/9/1 0001 下午 3:18
 */
public enum HierarchyEnum implements IEnum {
    /**
     *
     */
    RATIO(1, "按比例逐年递增",0),
    /**
     *
     */
    MONEY(2, "按金额逐年递增",0);

    private Integer id;
    private String name;
    private Integer select;

    HierarchyEnum(Integer id, String name,Integer select) {
        this.id = id;
        this.name = name;
        this.select=select;
    }


    @Override
    public Serializable getValue() {
        return this.id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSelect() {
        return select;
    }

    public void setSelect(Integer select) {
        this.select = select;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
